{extend name="main/index" /}
{block name="main"}

<div class="content-page">
	<div class="content">
		<form action="{:url('admin/Goods/doAdd')}" method="post" enctype="multipart/form-data">
			<div class="form-group">
				<label for="exampleInputText1">商家名称</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="name" required >
			</div>
			<div class="form-group">
				<input type="file" name="icon" value="" >
			</div>
			<div class="form-group">
				<label for="exampleInputText1">地址</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="address">
			</div>
			<div class="form-group">
				<label for="exampleInputText1">最低价格</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="price">
			</div>
			<div class="form-group">
				<label for="exampleInputText1">电话</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="tel">
			</div>
			<div class="form-group">
				<label for="exampleInputText1">简述</label>
				<textarea class="form-control" rows="10" name="information"></textarea>
			</div>
			<div class="form-group">
				<input type="radio" name="isbreaker" value="1" checked>不提供早餐
				<input type="radio" name="isbreaker" value="2">提供早餐
			</div>
			<div class="form-group">
				<input type="radio" name="wifi" value="1" checked>无WiFi
				<input type="radio" name="wifi" value="2">有WiFi
			</div>
			<div class="form-group">
				<input type="radio" name="parking" value="1" checked>无停车场
				<input type="radio" name="parking" value="2">有停车场
			</div>
			<button type="submit" class="btn btn-default">确认</button>
			<button type="reset" class="btn btn-default">重置</button>
		</form>
	</div>
</div>

{/block}